import { getFldm } from '@/utils/get-fldm'
export const formItem = async (key: string) => {
  const obj: any = {
    jdbb: [
      {
        disabled: false,
        label: '报表类型',
        prop: 'bblxdm',
        type: 'select',
        placeholder: '请选择报表类型',
        options: [
          {
            dm: '1',
            mc: '归档时效监督报表',
          },
          {
            dm: '2',
            mc: '归档质量监督报表',
          },
        ],
        isLeafNode: false,
        iswm: 'Y',
      },
      {
        disabled: false,
        label: '创建时间',
        prop: 'bbcj-rq',
        type: 'daterange',
        placeholderStart: '请选择开始时间',
        placeholderEnd: '请选择结束时间',
        iswm: 'Y',
      },
    ],
  }
  return obj[key]
}
